<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<h1><%= "Hello World!" %>
</h1>
<br/>
<a href="hello-servlet">Hello Servlet</a>
<br/>
<%
    int sum = 0;
    for (int i = 0; i <= 10; i++) {
        sum += i;
    }
    out.println("<h1>sum=" + sum + "</h1>");
%>
</body>
</html>